package uid.jsf;

public class SelectItems extends Select {

	private String value;
	private String var;

	public SelectItems(String id, String value, String var, String label) {
		super(id, label);
		this.value = value;
		this.var = var;
	}

	@Override
	public String getJSF() {
		String r = "<f:selectItems value=\"" + this.value + "\" itemLabel=\""
				+ this.getLabel() + "\" />";
		return r;
	}

}